package org.ydsw.data.manage.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.ydsw.data.manage.entity.DataManageStandardEntity;
import org.ydsw.data.manage.mapper.DataManageStandardEntityMapper;
import org.ydsw.data.manage.service.DataManageStandardService;

import java.util.List;

@Service
public class DataManageStandardServiceImpl implements DataManageStandardService {

    @Autowired
    DataManageStandardEntityMapper dataManageStandardEntityMapper;

    @Override
    public List<DataManageStandardEntity> searchDataManageStandardAll() {

        List<DataManageStandardEntity> dataManageStandardEntities = dataManageStandardEntityMapper.selectDataManageStandard();

        return dataManageStandardEntities;
    }

    @Override
    public List<DataManageStandardEntity> selectDataManageStandardType() {
        List<DataManageStandardEntity> dataManageStandardEntities = dataManageStandardEntityMapper.selectDataManageStandardType();
        return dataManageStandardEntities;
    }

    @Override
    public List<DataManageStandardEntity> searchDataManageStandardTypeDetail(String standardType) {
        List<DataManageStandardEntity> dataManageStandardEntities = dataManageStandardEntityMapper.selectStandardTypeDetail(standardType);
        return dataManageStandardEntities;
    }
}
